package dynamicmenus;

import cruds.services.CrudCreateService;
import cruds.services.ServiceList;
import home.Home;
import panels.DynamicMenu;
import panels.MyAjaxLink;

@SuppressWarnings("serial")
public class ServicesMenu extends DynamicMenu{
	

	
	public ServicesMenu(Home home) {
		super(home);
		this.setOutputMarkupId(true);
		this.createLinks();
	}

	private void createLinks() {
	    this.add(new MyAjaxLink("listar",new ServiceList(this.getHome())));
		this.add(new MyAjaxLink("crear", new CrudCreateService(this.getHome())));
	}


}
